<div id="data_page" class="in_page">
  <div class="panel panel-default">
</div>
      <table class="table table-bordered" style="text-align:center">
        <thead>
          <tr>
            <th><span class="glyphicon glyphicon-leaf"></span>券名</th>
            <th><span class="glyphicon glyphicon-leaf"></span>获得者</th>
            <th><span class="glyphicon glyphicon-leaf"></span>获得时间</th>
            <th><span class="glyphicon glyphicon-leaf"></span>状态</th>
          </tr>     
        </thead>
        <tbody>
         <volist name="list['list']" id="data">
          <tr>
            <td>{$data['q_name']}</td>
            <td>{$data['name']}</td>
            <td style="text-align:center"><?php echo date('Y-m-d H:i:s',$data['ctime']);?></td>
            <td style="text-align:center">
                <if condition="$data['status'] eq '0'">未使用</if>
                <if condition="$data['status'] eq '1'">已使用</if>
            </td>
          </tr>
        </volist>
        </tbody>
      </table> 
     
</div>
 <div class="pagelist">{$list['page']} </div>
<style>
 .pagelist{ text-align:right; background:#f1f1f1; padding:7px 0;}
  .pagelist a{ margin:0 5px; border:#6185a2 solid 1px; display:inline-block; padding:2px 6px 1px; line-height:16px; background:#fff; color:#6185a2;}
 .pagelist span{ margin:0 5px; border:#6185a2 solid 1px; display:inline-block; padding:2px 6px 1px; line-height:16px; color:#6185a2; color:#fff; background:#6185a2;}
 .trr td{height: 50px; line-height: 50px}

</style>